From: Georges Basile Stavracas Neto Date: Sat, 4 Feb 2023 23:31:58 +0000 (-0300) Subject: status/network: Title bluetooth connections as "Tether" X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~405^2^2~86 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e0408faf71dd9d1ad08d595bd40c2f9dd06b3b21;p=gnome-shell.git status/network: Title bluetooth connections as "Tether" As per the latest mockups, Bluetooth network connections are simply labeled "Tether". Override _getDefaultName in NMBluetoothToggle and always return "Tether" as title. Part-of: --- diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 2fa08cca9..776f1ad8e 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1836,6 +1836,11 @@ class NMBluetoothToggle extends NMDeviceToggle { 'gnome-network-panel.desktop'); } + _getDefaultName() { + // Translators: "Tether" from "Bluetooth Tether" + return _('Tether'); + } + _createDeviceMenuItem(device) { return new NMBluetoothDeviceItem(this._client, device); }